package com.ro.common;

import com.ro.model.blog.BlogController;
import com.ro.model.file.FileUploadModel;
import com.ro.model.index.IndexController;

public class RoutesConfig extends com.jfinal.config.Routes {
    @Override
    public void config() {
        setBaseViewPath("/view");
        add("/", IndexController.class, "/index");
        add("blog", BlogController.class, "/blog");
        add("f", FileUploadModel.class);
    }
}
